Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: fix behavior of SERIAL columns on mixed-case tables #40965

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

jordanlewis
Copy link
Member

@jordanlewis jordanlewis commented Sep 22, 2019

Closes #40964.

When experimental_serial_normalization is set to sql_sequence, there
was previously an issue with mixed-case tables - the created sequence
wouldn't be quoted properly. This fixes the issue.

Release note (sql change): fix behavior of SERIAL columns on mixed-case
tables when experimental_serial_normalization=sql_sequence.
Release justification: low-risk bugfix.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

When `experimental_serial_normalization` is set to `sql_sequence`, there
was previously an issue with mixed-case tables - the created sequence
wouldn't be quoted properly. This fixes the issue.

Release note (sql change): fix behavior of SERIAL columns on mixed-case
tables when experimental_serial_normalization=sql_sequence.
Release justification: low-risk bugfix.
Copy link
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@jordanlewis
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Sep 23, 2019
40965: sql: fix behavior of SERIAL columns on mixed-case tables r=jordanlewis a=jordanlewis

Closes #40964.

When `experimental_serial_normalization` is set to `sql_sequence`, there
was previously an issue with mixed-case tables - the created sequence
wouldn't be quoted properly. This fixes the issue.

Release note (sql change): fix behavior of SERIAL columns on mixed-case
tables when experimental_serial_normalization=sql_sequence.
Release justification: low-risk bugfix.

Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
@craig
Copy link
Contributor

craig bot commented Sep 23, 2019

Build succeeded

@craig craig bot merged commit 7cdfbc1 into cockroachdb:master Sep 23, 2019
@jordanlewis jordanlewis deleted the fix-serial-mixed-case branch October 2, 2019 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sql: experimental_serial_normalization=sql_sequence doesn't work with camelcase tables
3 participants